#if !defined(AFX_CADDTASKDLG_H__CA8FF5F3_9DCC_4850_B9F2_B3E1DD17D6BA__INCLUDED_)
#define AFX_CADDTASKDLG_H__CA8FF5F3_9DCC_4850_B9F2_B3E1DD17D6BA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AddTaskDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CAddTaskDlg dialog

class CAddTaskDlg : public CDialog
{
// Construction
public:
	CAddTaskDlg(CWnd* pParent = NULL);   // standard constructor
	CAddTaskDlg(CTask & t, CWnd* pParent = NULL);   // standard constructor

	bool m_bEditMode;
	CTask * m_ptask;
// Dialog Data
	//{{AFX_DATA(CAddTaskDlg)
	enum { IDD = IDD_DIALOG_ADDTASK };
	COleDateTime	m_date;
	COleDateTime	m_time;
	CString	m_content;
	CString	m_title;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAddTaskDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAddTaskDlg)
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonManager();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CADDTASKDLG_H__CA8FF5F3_9DCC_4850_B9F2_B3E1DD17D6BA__INCLUDED_)
